package vshevchuk;

public abstract class ICONV 
{
	public ICONV next = null;
	String name = null;
	
	public ICONV check( String dsName )
	{
		ICONV ret = null;
		if( dsName == name )
		{
			ret = this;
		}
		else if(next != null)
		{
			ret = next.check(dsName);
		}
		return ret;		
	}
	abstract public String toString ( Base p) throws Exception ;
	abstract public Base fromString ( String str ) throws Exception ;
}
